$primary-color: #4CAF50;
$background-color: #f0f4f8;
$card-background: #ffffff;
$shadow-color: rgba(0, 0, 0, 0.1);
$border-radius: 15px;

.wjlhome {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: $background-color;
    // height: 100vh;
    font-family: 'Arial', sans-serif;

    .boxleft {
        flex: 3;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .boxright {
        flex: 1;
        background: $card-background;
        border-radius: $border-radius;
        box-shadow: 0 4px 30px $shadow-color;
        padding: 20px;
        text-align: center;

        .student-img {
            width: 80%;
            border-radius: $border-radius;
            margin-bottom: 20px;
        }
    }

    .paper-item {
        background: $card-background;
        border-radius: $border-radius;
        box-shadow: 0 2px 10px $shadow-color;
        padding: 15px;
        width: calc(30% - 20px);
        transition: transform 0.3s;

        &:hover {
            transform: translateY(-5px);
        }

        .papername {
            font-size: 18px;
            font-weight: bold;
            color: $primary-color;
            margin-bottom: 10px;
        }

        .homeimg {
            display: flex;
            justify-content: center;
            img {
                width: 50%;
                border-radius: $border-radius;
            }
        }

        .bottom {
            margin-top: 10px;

            span {
                display: block;
                margin: 5px 0;
            }

            .score {
                color: $primary-color;
                font-weight: bold;
            }

            .duration {
                color: #555;
            }

            .elapsed-time {
                color: #ff5722; // 使用红色突出已用时间
            }
        }
    }
}
